<%--
  Created by IntelliJ IDEA.
  User: 15098
  Date: 2024/6/6
  Time: 8:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript">
        const idValue=document.getElementById("id").value;
        const password=document.getElementById("name").value;

    </script>
</head>
<body>
<a href="${pageContext.request.contextPath}/account/findAllAccounts">查询所有信息</a>
<form action="${pageContext.request.contextPath}/account/login" method="post">
    id:<input type="text" name="id" id="=id"><br/>
    password:<input type="text" name="name" id=""><br/>
    <button type="submit">登录</button>
</form>
<form action = "${pageContext.request.contextPath}/account/register" method="post">
    <button type="submit">注册</button>
</form>
</body>
</html>
